home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / fish / 701-725 / 708 / intuisup / intuisup42.lha / Intuisup / source.lha / Pointer / pointer.h < prev   
C/C++ Source or Header  |  1992-04-13  |  2KB  |  56 lines

  1. /* $Revision Header *** Header built automatically - do not edit! ***********
  2.  *
  3.  *    (C) Copyright 1992 by Torsten Jürgeleit
  4.  *
  5.  *    Name .....: pointer.h
  6.  *    Created ..: Wednesday 08-Jan-92 22:34:45
  7.  *    Revision .: 0
  8.  *
  9.  *    Date        Author                 Comment
  10.  *    =========   ====================   ====================
  11.  *    08-Jan-92   Torsten Jürgeleit      Created this file!
  12.  *
  13.  ****************************************************************************
  14.  *
  15.  *    Structures, prototypes and pragmas for mouse pointer functions
  16.  *
  17.  * $Revision Header ********************************************************/
  18.  
  19. #ifndef    ISUP_MOUSE_POINTER_H
  20. #define    ISUP_MOUSE_POINTER_H
  21.  
  22.     /* Structures for mouse pointer */
  23.  
  24. struct PointerData {
  25.     UBYTE    pd_Width;
  26.     UBYTE    pd_Height;
  27.     BYTE    pd_XOffset;
  28.     BYTE    pd_YOffset;
  29.     UWORD    *pd_Data;
  30. };
  31. struct PointerList {
  32.     LONG    pl_ID;        /* id = 'ISUP' */
  33.     UBYTE    pl_Width;
  34.     UBYTE    pl_Height;
  35.     BYTE    pl_XOffset;
  36.     BYTE    pl_YOffset;
  37.     UWORD    *pl_Data;
  38.     UWORD    *pl_Buffer;    /* if non NULL then chipmem buffer was allocated */
  39.     LONG    pl_BufferSize;
  40.     struct Menu         *pl_Menu;    /* saved menu before installing busy pointer */
  41.     struct PointerList  *pl_Next;
  42. };
  43.     /* Global prototypes */
  44.  
  45. VOID change_mouse_pointer(struct Window  *win, struct PointerData  *pd);
  46. VOID restore_mouse_pointer(struct Window  *win);
  47. VOID move_mouse_pointer(struct Window  *win, SHORT x, SHORT y, BOOL button);
  48.  
  49.     /* Global pragmas (Aztec C v5.2a) */
  50.  
  51. #pragma intfunc(change_mouse_pointer(a0,a1))
  52. #pragma intfunc(restore_mouse_pointer(a0))
  53. #pragma intfunc(move_mouse_pointer(a0,d0,d1,d2))
  54.  
  55. #endif   /* ISUP_MOUSE_POINTER_H */
  56.